package com.zhixun.mobile.modules.jiujiudevice.device.util;


/**
 * 设备指令状态码
 * @author Administrator
 *
 */

public enum DeviceCodeEnums {
	//设备开启指令 264F50454E 
    OPEN("404F50454E" , "@OPEN"),
    //设备关闭指令  26 43 4C 4F 53 45 
    CLOSE("40434C4F5345" , "@CLOSE"),
    //状态一样返回OK
    OK("404f4b" , "@OK"),
    SNOPEN("264F50454E" , "&OPEN"),
    SNCLOSE("26434C4F5345" , "&CLOSE"),
    //SN字符串
    SN("26534E3A" , "&SN:"),
    
    ;

    private String code;

    private String msg;

    DeviceCodeEnums(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
}
